from django.db import models # type: ignore

# Create your models here.

from django.db import models # type: ignore

class ChatMessage(models.Model):
    user_input = models.TextField()
    ai_response = models.TextField()
    created_at = models.DateTimeField(auto_now_add=True)

    def __str__(self):
        return f"User: {self.user_input[:20]}..."